
var option = {
    tooltip: {
        trigger: 'item',
        formatter: '{a} <br/>{b}: {c} ({d}%)'
    },
   
    series: [
        {
            name: '本安企业',
            type: 'pie',
            radius: ['45%', '70%'],
            center:['30%','50%'],
            avoidLabelOverlap: false,
            label: {
                show: false,
                position: 'center'
            },
            labelLine: {
                show: false
            },
            data: [
                {value: 234, name: '未通过',itemStyle:{color:'#ff9c00'}},
                {value: 234, name: '三级',itemStyle:{color:'#ff688d'}},
                {value: 234, name: '四级',itemStyle:{color:'#958bfe'}},
                {value: 234, name: '五级',itemStyle:{color:'#5181ff'}}
            ]
        }
    ]
};
var chart = echarts.init(document.getElementById('dianli_echart2'));
chart.setOption(option);